
package rdr.metric;

/**
 *
 * @author ruanor
 */
public enum DistanceUnits {
    Meters(1),
    Kilometers(0.001),
    Miles(1);
    
    private double toMeters = 1;
    
    DistanceUnits(double toMeters)
    {
        this.toMeters = toMeters;        
    }
    
    public double getMetersEquivalence()
    {
        return toMeters;
    }
}
